<template>
    <div>
        <Row>
            <Col span="8">
                <div style="height: 100px">
                    <img src="../../../public/img/qwe.jpg" style="height: 90%;width: 90%"/>
                </div>
            </Col>
            <Col span="16">
                <Form ref="userInfo" :model="userInfo">
                    <Row>
                        <Col span="11">
                            <FormItem label="编号" >
                                <Input type="text" v-model="userInfo.userId" readonly style="width: 100px"/>
                            </FormItem>
                        </Col>
                        <Col span="2" style="text-align: center">&nbsp;</Col>
                        <Col span="11">
                            <FormItem label="姓名" >
                                <Input type="text" v-model="userInfo.userName" readonly style="width: 100px"/>
                            </FormItem>
                        </Col>
                    </Row>
                </Form>
            </Col>
        </Row>

    </div>
</template>

<script>
    export default {
        name: "MyInfo",
        data() {
            return {
                userInfo: {
                    userId: '',
                    userName: '',
                    orgName: ''
                }
            }
        },
        methods: {
            getUserInfo() {
                let self = this;
                self.$http.get('/core/userInfo/queryMyInfo').then(function (response) {
                    var data = self.common.handleData(response.data, self);
                    self.userInfo = data;
                });
            }
        }
    }
</script>

<style scoped>

</style>